package com.onlinelearn.courseservice.repository;

import com.onlinelearn.courseservice.model.Homework;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HomeworkRepository extends JpaRepository<Homework, Long> {
    List<Homework> findByCourseId(Long courseId);
} 